import request from "../utils/axios.js";

export default {
    patientSearch(params){
        return request.post('/api/admin/userSearch',params);
    },
    userResetPassword(params){
        return request.post('/api/admin/userRestartPassword',params);
    },
    userInfoEdit(params){
        return request.post('/api/admin/userEdit',params);
    },
    doctorSearch(params){
        return request.post('/api/admin/doctorSearch',params);
    },
    doctorResetPassword(params){
        return request.post('/api/admin/doctorRestartPassword',params);
    },
    doctorInfoEdit(params){
        return request.post('/api/admin/doctorEdit',params);
    },
    addUser(params){
        return request.post('/api/admin/addUser',params);
    },
    addDoctor(params){
        return request.post('/api/admin/addDoctor',params);
    },
    updatePass(params){
        return request.post('/api/admin/updatePass',params);
    },
}